home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectInput / DIConfig / constants.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  1.0 KB  |  30 lines

  1. //-----------------------------------------------------------------------------
  2. // File: constants.cpp
  3. //
  4. // Desc: Contains all constants used by the UI.
  5. //
  6. // Copyright (C) 1999-2001 Microsoft Corporation. All Rights Reserved.
  7. //-----------------------------------------------------------------------------
  8.  
  9. #include "common.hpp"
  10.  
  11.  
  12. const SIZE g_sizeThumb = {64, 64};
  13. const SIZE g_sizeImage = {430, 310};
  14. const POINT g_ptViewOrigin = {13, 13};
  15. const RECT g_UserNamesTitleRect = {9,120,190,132};
  16. const RECT g_UserNamesRect = {9,137,190,364};
  17. const RECT g_GenresTitleRect = {9,156,190,167};
  18. const RECT g_GenresRect = {9,172,190,379};
  19. const    RECT g_InfoWndRect = {9, 10, 190, 120};
  20. const RECT g_ViewRect = {200,10,630,320};
  21. const RECT g_CheckBoxRect = {350, 335, 475, 355};
  22. const int g_iListHeaderHeight = 30;
  23. const int g_iResetMsgBoxWidth = 200;
  24. const int g_iResetMsgBoxHeight = 60;
  25.  
  26. LPCTSTR g_tszUnassignedControlCaption = _T("_ _ _  ");
  27.  
  28. const RECT g_TreeTitleRect = {9,192,190,203};
  29. const RECT g_TreeRect = {10,208,189,417};
  30.